//
//  BaseModel.h
//  Bettle
//
//  Created by Apple on 2017/1/3.
//  Copyright © 2017年 panhongliu. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface BaseModel : NSObject
/**
 *将属性名换位其他key去字典中取值
 *@return 字典中的key是属性名,value是从字典中取值用的key
 */
+(NSDictionary *)replacedkeyFromePropertyName;
-(id)initWithDic:(NSDictionary *)dic;
-(void)setValue:(id)value forUndefinedKey:(NSString *)key;
@end
